<!DOCTYPE html>
<html lang="en">
    <head>
        <title>
            <?php echo empty($title) ? '部落社' : $title;?>
        </title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" >  
<!--        <meta name="viewport" content="width=device-width, initial-scale=1">-->
        <link rel="stylesheet" href="__CDN__/html/css/mui.min.css">
        <link rel="stylesheet" href="__CDN__/html/css/style.css">
        {block name="style"}{/block}
    </head>
    <body>
        {block name="body"}{/block}
        {block name="menu"}
        <div class="fixed-mains">
            <ul class="fixed-nav">
                <!--class="li1 li2 li3"时为选中状态--> 
                <li <?php if(isset($menu) && $menu==1):?> class="li1"<?php endif;?>>
                    <a href="{:url('index/index')}">
                        <div class="fixed-img fixed-img1"></div>
                        <div class="fixed-div">首页</div>
                    </a>
                </li>
                <li<?php if(isset($menu) && $menu==2):?> class="li2"<?php endif;?>>
                    <a href="{:url('task/index')}">
                        <div class="fixed-img fixed-img2"></div>
                        <div class="fixed-div">任务</div>
                    </a>
                </li>
                <li<?php if(isset($menu) && $menu==3):?> class="li3"<?php endif;?>>
                    <a href="{:url('my/index')}">
                        <div class="fixed-img fixed-img3"></div>
                        <div class="fixed-div">我的</div>
                    </a>
                </li>          
            </ul>
        </div>
        {/block}
    </body>
    <script src="__CDN__/html/js/jquery.min.js" type="text/javascript"></script>
    <script src="__CDN__/html/js/mui.min.js" type="text/javascript"></script>
    <script src="__CDN__/html/js/base.js" type="text/javascript"></script>
    {block name="script"}{/block}
</html>